package org.example.model.domain.mine;

import java.util.Date;
import java.io.Serializable;

/**
 * (ExpressRechargeRecord)实体类
 *
 * @author makejava
 * @since 2024-08-26 19:00:31
 */
public class ExpressRechargeRecord implements Serializable {
    private static final long serialVersionUID = -79683094642777866L;
    /**
     * 充值记录id
     */
    private Integer id;
/**
     * 交易号
     */
    private String transactionNumber;
/**
     * 会员类型 1：快递员 2：普通会员
     */
    private Integer type;
/**
     * 手机号
     */
    private String phone;
/**
     * 充值渠道 1:微信支付 2：支付宝 3：贝宝支付
     */
    private Integer rechargeChannels;
/**
     * 充值金额
     */
    private Double rechargeAmount;
/**
     * 充值后余额
     */
    private Double balanceAfterRecharging;
/**
     * 充值币种 1：CNY 2:PHP
     */
    private Integer rechargeCurrency;
/**
     * 实际支付CNY
     */
    private Double actualPayment;
/**
     * 汇率
     */
    private Double exchangeRate;
/**
     * 创建时间
     */
    private Date createTime;
/**
     * 完成时间
     */
    private Date overTime;
/**
     * 充值状态 1：充值中 2：待支付 3：充值成功 4：交易关闭 5：充值失败
     */
    private Integer status;
/**
     * 充值失败原因
     */
    private String failureReason;
/**
     * 账户信息
     */
    private String registerIp;
/**
     * 付款时间
     */
    private Date fuTime;
/**
     * 关闭时间
     */
    private Date closingTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTransactionNumber() {
        return transactionNumber;
    }

    public void setTransactionNumber(String transactionNumber) {
        this.transactionNumber = transactionNumber;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getRechargeChannels() {
        return rechargeChannels;
    }

    public void setRechargeChannels(Integer rechargeChannels) {
        this.rechargeChannels = rechargeChannels;
    }

    public Double getRechargeAmount() {
        return rechargeAmount;
    }

    public void setRechargeAmount(Double rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public Double getBalanceAfterRecharging() {
        return balanceAfterRecharging;
    }

    public void setBalanceAfterRecharging(Double balanceAfterRecharging) {
        this.balanceAfterRecharging = balanceAfterRecharging;
    }

    public Integer getRechargeCurrency() {
        return rechargeCurrency;
    }

    public void setRechargeCurrency(Integer rechargeCurrency) {
        this.rechargeCurrency = rechargeCurrency;
    }

    public Double getActualPayment() {
        return actualPayment;
    }

    public void setActualPayment(Double actualPayment) {
        this.actualPayment = actualPayment;
    }

    public Double getExchangeRate() {
        return exchangeRate;
    }

    public void setExchangeRate(Double exchangeRate) {
        this.exchangeRate = exchangeRate;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getOverTime() {
        return overTime;
    }

    public void setOverTime(Date overTime) {
        this.overTime = overTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getFailureReason() {
        return failureReason;
    }

    public void setFailureReason(String failureReason) {
        this.failureReason = failureReason;
    }

    public String getRegisterIp() {
        return registerIp;
    }

    public void setRegisterIp(String registerIp) {
        this.registerIp = registerIp;
    }

    public Date getFuTime() {
        return fuTime;
    }

    public void setFuTime(Date fuTime) {
        this.fuTime = fuTime;
    }

    public Date getClosingTime() {
        return closingTime;
    }

    public void setClosingTime(Date closingTime) {
        this.closingTime = closingTime;
    }

    @Override
    public String toString() {
        return "ExpressRechargeRecord{" +
                "id=" + id +
                ", transactionNumber='" + transactionNumber + '\'' +
                ", type=" + type +
                ", phone='" + phone + '\'' +
                ", rechargeChannels=" + rechargeChannels +
                ", rechargeAmount=" + rechargeAmount +
                ", balanceAfterRecharging=" + balanceAfterRecharging +
                ", rechargeCurrency=" + rechargeCurrency +
                ", actualPayment=" + actualPayment +
                ", exchangeRate=" + exchangeRate +
                ", createTime=" + createTime +
                ", overTime=" + overTime +
                ", status=" + status +
                ", failureReason='" + failureReason + '\'' +
                ", registerIp='" + registerIp + '\'' +
                ", fuTime=" + fuTime +
                ", closingTime=" + closingTime +
                '}';
    }
}

